package ui.activity;

import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.fragment.app.FragmentActivity;

import ui.UiInterface;

//主要的activity
public abstract class BaseActivity extends FragmentActivity implements UiInterface {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //加载子类布局文件
        setContentView(getLayout());
        initView();
        initListener();
        initData();
    }

}
